//
//  CQEffectViewFactory.h
//  AppCommonUICollect
//
//  Created by ciyouzen on 2019/8/13.
//  Copyright © 2019 dvlproad. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CQPopupEnum.h"

NS_ASSUME_NONNULL_BEGIN

@interface CQEffectViewFactory : NSObject {
    
}

/*
 *  添加effectView紧靠effectForView
 *
 *  @param effectType       effectType
 *  @param toSuperview      添加到哪个视图里(注意：请确保toSuperview包含或者至少等于effectForView)
 *  @param effectForView    和哪个视图紧靠/给哪个视图所在的区域添加效果
 */
+ (UIVisualEffectView *)addEffectwithEffectType:(UIBlurEffectStyle)effectType toView:(UIView *)toSuperview closeView:(UIView *)effectForView;

@end

NS_ASSUME_NONNULL_END
